package com.toraeve.asktora.daoimpl;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.ibatis.session.SqlSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Required;
import org.springframework.stereotype.Repository;

import com.toraeve.asktora.domain.repository.BaseInfoRepository;

@Repository
public class BaseInfoRepositoryImpl implements BaseInfoRepository {

	private static Log logger = LogFactory.getLog(BaseInfoRepositoryImpl.class);
	private SqlSession sqlSession;

	@Required
	@Autowired
	public void setSqlSession(SqlSession sqlSession) {
		this.sqlSession = sqlSession;
		logger.debug(sqlSession);
	}
}
